Func _spinnerText($spinnerIn,$delmIn,$delmOut)
	Local $spinnerResults,$spinnerResults,$spinner,$var,$spinCount,$randomSpin,$originalSpin
	$spinnerResults = _StringBetween($spinnerIn,$delmIn,$delmOut)
	For $spinner In $spinnerResults
		$var = StringSplit($spinner,"|")
		$spinCount = $var[0]
		$randomSpin = Random(1,$spinCount,1)
		$originalSpin = $delmIn&$spinner&$delmOut
		$spinnerIn = StringReplace($spinnerIn,$originalSpin,$var[$randomSpin],1)
	Next

	Return $spinnerIn
EndFunc

Func SetBitmap($hGUI, $hImage, $iOpacity)

	Local $hScrDC, $hMemDC, $hBitmap, $hOld, $pSize, $tSize, $pSource, $tSource, $pBlend, $tBlend,$AC_SRC_ALPHA
	$AC_SRC_ALPHA = 1
	$hScrDC = _WinAPI_GetDC(0)
	$hMemDC = _WinAPI_CreateCompatibleDC($hScrDC)
	$hBitmap = _GDIPlus_BitmapCreateHBITMAPFromBitmap($hImage)
	$hOld = _WinAPI_SelectObject($hMemDC, $hBitmap)
	$tSize = DllStructCreate($tagSIZE)
	$pSize = DllStructGetPtr($tSize)
	DllStructSetData($tSize, "X", _GDIPlus_ImageGetWidth($hImage))
	DllStructSetData($tSize, "Y", _GDIPlus_ImageGetHeight($hImage))
	$tSource = DllStructCreate($tagPOINT)
	$pSource = DllStructGetPtr($tSource)
	$tBlend = DllStructCreate($tagBLENDFUNCTION)
	$pBlend = DllStructGetPtr($tBlend)
	DllStructSetData($tBlend, "Alpha", $iOpacity)
	DllStructSetData($tBlend, "Format", $AC_SRC_ALPHA)
	_WinAPI_UpdateLayeredWindow($hGUI, $hScrDC, 0, $pSize, $hMemDC, $pSource, 0, $pBlend, $ULW_ALPHA)
	_WinAPI_ReleaseDC(0, $hScrDC)
	_WinAPI_SelectObject($hMemDC, $hOld)
	_WinAPI_DeleteObject($hBitmap)
	_WinAPI_DeleteDC($hMemDC)
EndFunc   ;==>SetBitmap